<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); ?>

<?php 
	$ci = & get_instance();
	$tid = intval($_GET['tid']);
	$TOURNAMENT = $ci->tournament_entity->init("id", $tid);
	$mid = isset($_GET['mid']) ? intval($_GET['mid']) : 0;
?>

<div class="blockitem">
	<h1 class="bold" style="font-size:14px;height:35px;text-align:center;position:relative;">
		<?php echo strtoupper($TOURNAMENT->getName());?> <br />
		<a href="<?php echo site_url("cricket");?>" style="color:#006699;" class="back_button" title="Back?">
			Back
		</a>
		<div class="refresh_button" title="Refresh?" onclick="return doRefresh(<?php echo $mid;?>);"></div>
	</h1>
</div>